import 'package:flutter/material.dart';

class SubPage extends StatefulWidget {
  SubPage(this.title);

  String title;

  @override
  State<SubPage> createState() => _SubPageState();
}

class _SubPageState extends State<SubPage> {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text(widget.title),
    );
  }
}
